package com.csxh.bean;

import java.awt.Menu;

public class Macige {
private Menu wenb;
private long id;
private String title;
private String contens;
public Macige(){}
public Menu getWenb() {
	return wenb;
}
public void setWenb(Menu wenb) {
	this.wenb = wenb;
}
public long getId() {
	return id;
}
public void setId(long id) {
	this.id = id;
}
public String getTitle() {
	return title;
}
public void setTitle(String title) {
	this.title = title;
}
public String getContens() {
	return contens;
}
public void setContens(String contens) {
	this.contens = contens;
}
@Override
public int hashCode() {
	final int prime = 31;
	int result = 1;
	result = prime * result + (int) (id ^ (id >>> 32));
	return result;
}
@Override
public boolean equals(Object obj) {
	if (this == obj)
		return true;
	if (obj == null)
		return false;
	if (getClass() != obj.getClass())
		return false;
	Macige other = (Macige) obj;
	if (id != other.id)
		return false;
	return true;
}
@Override
public String toString() {
	return "Macige [wenb=" + wenb + ", id=" + id + ", title=" + title + ", contens=" + contens + "]";
}

}
